@import "reset.css";

body {
    min-width: 1180px;
    background: #f3f0eb;
}

.clearfix::after {
    content: "";
    display: block;
    clear:both;
}

.header-wrap {
    width: 100%;
}

.w1180 {
   width: 1180px;
}
.header-top{
   width: 100%;
   background: #2a2a2d;
}
.header-content{
    margin: 0 auto;
    height: 70px;
}
.search {
    padding: 15px;
    margin: 0 auto;
    width: 285px;
}

.search-wrap {
    width: 285px;
    height: 40px;
    border-radius: 20px;
    background: #fff;
}
.search-keyword {
    width: 190px;
    height: 20px;
    border: 0;
    outline: none;
    /* border: 1px solid black; */
    padding: 10px;
    box-sizing: content-box;
    margin-left: 20px;
    float: left;
}
.search-submit {
    width: 50px;
    height: 40px;
    border-radius: 0 20px 20px 0;
    border: 0;
    float: right;
    background: url(../images/tips_tz.png) no-repeat -190px -64px;
    background-color: #ffdc35;
}
/* nav */

.header-submenu {
    width: 100%;
    background: #fff;
    margin-bottom: 10px;
}

.header-submenu-list {
    height: 60px;
    margin: 0 auto;
}

.header-submenu-list li {
    float: left;
    margin: 15px;
    font-size: 18px/30;
}

.header-submenu-list a {
    color: #000;
}
.header-submenu-list a:hover {
    color: red;
}

/* ad */
.gift_wrap{
    margin: 0 auto;
    margin-top: 140px;
}
.gift-ad {
    margin-bottom: 15px;
}

.ml20 {
    margin-left: 20px;
}
.gift-content {
    background-color: #fff;
}

.gift-location {
    
    height: 34px;
    line-height: 34px;
    color: #a6a6a6;
}

.gift-location>a {
    color: #a6a6a6;
}

.gift-location>a:hover {
    color: red;
    text-decoration: underline;
}

/* 分类筛选 */
.cr {
    color: red;
}

.gift-filter{
    font-size: 14px;
    color: #000;
    margin-bottom: 15px;
}

.gift-filter-count{
    border-bottom: 1px solid #e5e5e5;
    font-size: 18px;
    height:40px;
    line-height: 40px;
    margin-bottom: 15px;
}

.s1 {
    display: inline-block;
    font-weight: bold;
    margin-right: 20px;
    border-bottom: 2px solid red;
}

.gift-filter-category li {
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    flex-direction: row;
    height: 35px;
    line-height: 35px;
}

.cate-wrap {
    margin-left: 20px;
}

.cate-wrap a {
    display: inline-block;
    height: 24px;
    line-height: 24px;
    border: 1px solid #e5e5e5;
    padding: 0 15px;
    margin-right: 20px;
    color: #000;
}

.cate-wrap a:hover {
    background-color: red;
    color: #fff;
}

.cate-wrap .focus a{
    background-color: black;
    color: #fff;
}

.channel {
    margin-bottom: 15px;
}

.channel-list {
    border: 1px solid #e5e5e5;
    height: 40px;
    margin-right: 20px;
}
.channel-list a {
    /* padding: 10px 20px; */
    display:inline-block;
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    color: #000;
}
.channel-list .focus a{
    background-color: red;
    color: #fff;
}
.channel-list .top {
    float:  left;
}

.top a {
    border-right: 1px solid #e5e5e5;
}

.channel-list .update {
    float: left;
}

.update a {
    border-right: 1px solid #e5e5e5;
}

.channel-list .count {
    float: right;
    
}
.count a {
    border-left: 1px solid #e5e5e5;
}

.mb15 {
    margin-bottom: 15px;
}

/* ul game list*/
.game-list img {
    border-radius: 10px;
}
.game-list-wrap .game-list {
    display: flex;   
    flex-wrap: wrap;
}

.game-list-wrap .game-list li {
    width: 550px;
}

.mr20 {
    margin-right: 20px;
}

.game {
    display: flex;
    margin-right:  20px;
    padding: 45px 0;
    font-size: 14px;
}

.game-info{
    margin-left: 8px;
}

/* .game-info>p:first-child{
    text-emphasis: nowrap;
    overflow: hidden;
} */

.game-name{
    font-weight: bold;
    font-size: 18px;
    margin-right: 10px;
}

.game-info>p:nth-child(2) {
    color: #e5e5e5;
}
.game-info>p:nth-child(2)>span {
    color: #000;
}
.game-info>p {
    height: 30px;
    line-height: 30px;
}

.game-info p:last-child span a{
    display: inline-block;
    height: 30px;
    width: 85px;
    border: 1px solid #e5e5e5;
    color: #bfbfbf;
    font-size:16px;
    text-align: right;
}

.zq {
    background: url(../images/tips_tz.png) no-repeat -15px -9px;
}

.lb {
    background: url(../images/tips_tz.png) no-repeat -15px -43px;
}

.lt {
    background: url(../images/tips_tz.png) no-repeat -15px -43px;
}

.xz {
    background: url(../images/tips_tz.png) no-repeat -15px -43px;
}

.page-list {
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.page-list a{
    display: inline-block;
    height: 30px;
    padding: 0 15px;
    line-height: 30px;
    border: 1px solid #bfbfbf;
    margin-right: 3px;
    color: #000;
}

.page-list a:hover{
    background-color: red;
    color: #fff;
}

.header-wrap{
    position: fixed;
    left:0;
    top:0;
    z-index: 999;
}

footer {
    width: 1180px;
    margin: 0 auto;
    background:#000;
    color: #fff;;
}

footer>p {
    text-align: center;
}